﻿using System.IO;
using System.ServiceModel;
using System.ServiceModel.Web;

namespace Sherwood.Content.Contracts
{
    [ServiceContract]
    public interface IXmlUpdateService
    {
        [OperationContract]
        [WebInvoke(Method = "POST")]
        Stream UpdateRecords(Stream xml);

        [OperationContract]
        [WebInvoke(Method = "GET")]
        Stream RebuildSearchIndex(string client);
    }
}
